import java.io.FileReader;
import java.io.IOException;
import au.com.bytecode.opencsv.*;

/**
*
*
*
*/
public class csvdata {

	private static final String FILE_PATH="D:\\A16\\CSV\\CSVdata.csv"; 
	// Replace this path with correct path

	public static void main(String[] args) throws IOException {

		CSVReader reader = new CSVReader(new FileReader(FILE_PATH));
		String [] nextLine;
		while ((nextLine = reader.readNext()) != null) {
			System.out.println("Name: [" + nextLine[0] + "]\nNumber: [" + nextLine[1] + "]");
		}

	}
}